home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / asm_n_z.zip / NOTEPAD4.DOC < prev    next >
Text File  |  1985-07-09  |  9KB  |  180 lines

  1.                    NOTEPAD 4
  2.  
  3. MODIFICATION SCHEDULE
  4. VERS. #
  5. 4.0                ADD CARRIAGE RETURN ON END OF LINES PLUS DONT FEED
  6.                    TRAILING BLANKS ON A LINE (FOR BREVITY)
  7. 3.4                SWITCH TO DIRECT SCREEN WRITES INSTEAD OF BIOS
  8.                    CALLS FOR SPEED
  9. 3.3                TAB AND BACK TAB FUNCTIONS IMPROVED AND INVOKING CHAR
  10.                    CHANGED TO SHIFT LEFT AND RIGHT ARROW
  11. 3.2                ADD PRINT SCREEN AND CHANGE NOTEPAD FILE
  12.                    FUNCTIONS; FIX EBL INCOMPATIBILITIES
  13.  
  14. 3.1                FIX PC-TALK CRASH BUG
  15.                    CHANGE WORKING OF TAB CHARACTER
  16.                    SAVE TO DISK ONLY WHEN CURSOR HOMED
  17.  
  18. 3.0                ADD SAVE TO/RESTORE FROM DISK FEATURE
  19.  
  20.  
  21.  
  22.     Many times, while sitting at the keyboard, I would find myself reaching
  23. for a pad of paper or that ever elusive pen to jot down a file name or
  24. a number off the screen.  Thus it was with excitement that I came across
  25. a copy of the public domain program NotePad, which provided an easily
  26. called up note pad for jotting down notes (this idea is also encorporated
  27. in such products as SideKick, but the public domain well rarely fails me).
  28.  
  29.     I was rather disappointed with NotePad, however, in that once a note
  30. was written, it was up there for good; no editing was possible.  One wasnt
  31. even allowed to back up the cursor; thus, when a screen full of notes had
  32. been made, notepad was no longer of any use.  I decided that it was worth
  33. the trouble of rewriting the thing.  Since the source was not to be found,
  34. I was forced to start from scratch and write my own.
  35.  
  36.     NotePad4 has the same format of being callable from any routine
  37. which performs keyboard input using interrupt 16 (and that's just about
  38. everyone) by entering a special key (currently configured for Alt-F10).
  39. Once NotePad4 is up, the operator has full editing capability, so that
  40. notes can be removed or edited as they become obsolete.
  41.  
  42.     A further capability is that NotePad4 will "feed" a note into the
  43. application.  An example here best serves as explanation.  A list of file
  44. names scrolls by on the screen, say from a 'DIR' or 'SDIR' command.  I want
  45. to process these files (maybe simply delete them, but it makes no difference).
  46. If I process the first file, the rest of the file names will scroll off
  47. the screen.  Therefore, I open up the note pad area and jot down the
  48. file names of interest.  Now I need the file names for processing.  I could
  49. open up the note pad, memorize the first file, close the note pad and type
  50. that filename again.  But computers are supposed to save me work, not force
  51. me to type things multiple times; therefor, what I do is run my application
  52. routine up to the point that the file name is needed.  Then open the window
  53. and place the cursor at the beginning of the file name and depress 'mark/feed'
  54. (configured for end key).  I then scroll over to the character
  55. beyond the file name and again press 'mark/feed'.  NotePad4 then enters
  56. the filename again for me!
  57.  
  58.     Notepd4 can change notes using the brown "-" key.  Depressing this key
  59. will cause the open note pad to be updated and the operator to be quizzed for
  60. a new file name.  Entering a new notepad file will cause that file to be open
  61. and the notepad reopened with that information.  Entering a return with no
  62. file name will reopen the notepad area with the original data but with the
  63. original note pad file closed.
  64.  
  65.     Depressing the PrtSc key at any time that the notepad area is open
  66. will cause the note to be printed onto LPT1.  A border of asterisks outlines
  67. the note on the printer for legibility.
  68.  
  69.     Below is a layout of the keys to which NotePad4 assigns editing
  70. meaning.  Any key which NotePad4 does not understand, it merely saves
  71. as ASCII.  Depressing Alt-F10 enters and exits notepad.
  72.  
  73. |-------------------------------------------------------------------------|
  74. |             |              |              |              |              |
  75. |             |  HOME        |  UP ARROW    |   PG UP      |       -      |
  76. |             |move to top of|  move cursor |delete current|change notepd |
  77. | RETURN      |note are      |      up      |    line      |    file      |
  78. |             |--------------|--------------|--------------|--------------|
  79. |             |              |              |              |              |
  80. |             |  LEFT ARROW  |              | RIGHT ARROW  |              |
  81. |             | move cursor  |              | move cursor  |              |
  82. |             |    left      |              |    right     |              |
  83. |-------------|--------------|--------------|--------------|              |
  84. |             |              |              |              |              |
  85. |  PrtSc      |    END       |  DOWN ARROW  |   PG DOWN    |              |
  86. | print note  | mark/send    | move cursor  |insert a blank|              |
  87. |             |              |    down      |line at cursor|              |
  88. |-------------|--------------|--------------|--------------|              |
  89. |                            |                             |              |
  90. |          INSERT            |           DELETE            |              |
  91. |   insert a blank character |   delete current character  |              |
  92. |                            |                             |              |
  93. |-------------|--------------|--------------|-----------------------------|
  94.  
  95. two seperate keys:
  96.  
  97. |-------------|              |--------------|
  98. |             |              |              |
  99. |   ESC       |              |     <--      |
  100. |delete from  |              | delete char  |
  101. |curso right  |              |  to left     |
  102. |-------------|              |--------------|
  103.  
  104. (Stephen) Randy Davis
  105. Route 5 Box 107L
  106. Greenville, Tx 75401
  107.  
  108.                    ADDENDUM TO NOTEPAD3
  109.  
  110. NotePad2 had one major drawback towards being a truly useful tool:
  111. notes were not saved on disk; thus, once power was turned off, all
  112. notes were lost.  NotePad3 functions identically to NotePad2 except
  113. that this limitation is addressed as follows:
  114.  
  115. NotePad3 may be installed by simply entering its name, with not arguments,
  116. as was done for NotePad2.  If installed this way, it functions identically
  117. to the previous version.  It may also be installed with a file name argument,
  118. for example:
  119.  
  120. Notepad3 a:notefile
  121.  
  122. Notice that the filename must be a full path name, including any directories
  123. if applicable.  Notepad3 will attempt to read that file.  If it cannot, it
  124. will not install, thinking that the name was misspelled, etc.  If it can,
  125. NotePad3 will read the note into the scratch area.  Every time the notepad
  126. area is subsequently exited, NotePad3 will update the file by writing the
  127. scratch area out to disk.  If the disk containing the specified file is
  128. not in the indicated drive, a new file will NOT be created and the scratch
  129. area will not be saved to disk.  In this way, with NotePad3 notes may be
  130. continued from one day to the next.
  131.  
  132. Since NotePad3 wants the scratch file to already exist, the user will need
  133. to create the scratch file before installing NotePad3 the first time.  The
  134. contents of this file are not important (indeed the file may be empty).  Use
  135. any editor to create the file.  Once installed, the file name in NotePad3
  136. may not be changed.
  137.  
  138.                              ADDENDUM TO NOTEPAD3.1
  139.  
  140. It was sometimes found to be inconvenient for non-harddisk users to save
  141. note pad to disk every time the note pad was modified.  It was also decided
  142. that it was an advantage to be able to make "temporary" notes that were not
  143. saved to disk; therefore, the NotePad3.1 only saves to disk if the cursor
  144. is homed in the note pad area.
  145.  
  146. Some observant users discovered a crash which occured with some (not many)
  147. programs.  Unforturnately, one of these programs was the ever popular
  148. PC-TALK.  This bug was found and fixed.
  149.  
  150. The feed to application function was found to be very useful.  In support
  151. of this function the tab/reverse-tab function was modified from a tab
  152. function to a Wordstar type Cntrl-F function.  If the cur